

public class Event {
private  double temperature;
private long time;
public Event(double temperature) {
	this.temperature=temperature;
	this.time=System.currentTimeMillis();
}
public double Gettemperature() {
	return temperature;
}
public long  Gettime() {
	return time;
}
}
